package com.teacher.pojo.vo.behavior;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: zfm
 * @Date: 2021/7/30 16:03
 */
@Data
public class BehaviorGetVo {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @ApiModelProperty(value = "学生学号")
    private String studentKey;

    @ApiModelProperty(value = "学生学号")
    private String studentKeyStr;

    @ApiModelProperty(value = "学期ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long termId;

    @ApiModelProperty(value = "扣分项")
    private String reason;

    @ApiModelProperty(value = "扣分分值")
    private BigDecimal fraction;

    @ApiModelProperty(value = "备注")
    private String remark;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long classId;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long departmentId;

    private String departmentStr;

    private String classStr;

    @ApiModelProperty(value = "学生姓名")
    private String name;
}
